import request from '@/utils/request'

export function getToDayRgList(query) {
  return request({
    url: '/admin/toDayRgList',
    method: 'post'
  })
}

export function getstorelist(data) {
  return request({
    url: '/aiTools/feedback',
    method: 'get',
    params: data
  })
}

export function uploadAiIcon(data) {
  return request({
    url: '/upload/aiIcon',
    method: 'post',
    data
  })
}
export function uploadImg(data) {
  return request({
    url: '/upload/brandPic',
    method: 'post',
    data
  })
}

export function fetchUserList(data) {
  return request({
    url: '/user/index',
    method: 'post',
    data
  })
}

export function fetchUserListdetail(data) {
  return request({
    url: '/user/info',
    method: 'post',
    data
  })
}



export function fetchAiTools(data, url,method='post') {
  return request({
    url: url,
    method: method,
    data
  })
}
